import { renderIcon } from '@/utils';
import {
  DashboardFilled,
  DashboardOutlined,
  DashboardTwotone,
  SettingFilled,
  UserOutlined,
  FileProtectOutlined,
  DatabaseFilled,
  FileTextFilled,
  ClusterOutlined,
  CloudServerOutlined,
  BuildFilled,
  ApiFilled,
  CodeFilled,
  GatewayOutlined,
  AppstoreOutlined,
  MonitorOutlined,
  PicCenterOutlined,
  ControlFilled,
  FileTextOutlined,
  LockOutlined,
  BorderOuterOutlined,
  ApartmentOutlined,
} from '@vicons/antd';

import { Map, OperationsRecord, UserProfile, UserRole, Music } from '@vicons/carbon';
import { LogIn, Menu } from '@vicons/ionicons5';
import { FileCode, Adjustments, Playlist } from '@vicons/tabler';

//前端路由图标映射表
export const constantRouterIcon = {
  DashboardFilled: renderIcon(DashboardFilled),
  DashboardOutlined: renderIcon(DashboardOutlined),
  DashboardTwotone: renderIcon(DashboardTwotone),
  SettingFilled: renderIcon(SettingFilled),
  UserOutlined: renderIcon(UserOutlined),
  FileProtectOutlined: renderIcon(FileProtectOutlined),
  DatabaseFilled: renderIcon(DatabaseFilled),
  FileTextFilled: renderIcon(FileTextFilled),
  ClusterOutlined: renderIcon(ClusterOutlined),
  CloudServerOutlined: renderIcon(CloudServerOutlined),
  BuildFilled: renderIcon(BuildFilled),
  ApiFilled: renderIcon(ApiFilled),
  CodeFilled: renderIcon(CodeFilled),
  GatewayOutlined: renderIcon(GatewayOutlined),
  AppstoreOutlined: renderIcon(AppstoreOutlined),
  MonitorOutlined: renderIcon(MonitorOutlined),
  PicCenterOutlined: renderIcon(PicCenterOutlined),
  ControlFilled: renderIcon(ControlFilled),
  FileTextOutlined: renderIcon(FileTextOutlined),
  LockOutlined: renderIcon(LockOutlined),
  BorderOuterOutlined: renderIcon(BorderOuterOutlined),
  Map: renderIcon(Map),
  LogIn: renderIcon(LogIn),
  FileCode: renderIcon(FileCode),
  OperationsRecord: renderIcon(OperationsRecord),
  ApartmentOutlined: renderIcon(ApartmentOutlined),
  UserProfile: renderIcon(UserProfile),
  UserRole: renderIcon(UserRole),
  Music: renderIcon(Music),
  Menu: renderIcon(Menu),
  Adjustments: renderIcon(Adjustments),
  Playlist: renderIcon(Playlist),
};
